package demo.game.chess.common;

public enum EnumChessColor {
	black, white;

	public String getLabel() {
		return (this == black) ? "Black" : "White";
	}

	public EnumChessColor getOpposite() {
		return EnumChessColor.values()[(this.ordinal() + 1) % 2];
	}
}
